-
Notifications
You must be signed in to change notification settings - Fork 11
fix: android-headless-talkback-accessibility #19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fix: android-headless-talkback-accessibility #19
Conversation
|
@TaduJR Please merge main into your branch to fix the GitHub validation errors? |
| accessibilityLabel={accessibilityLabel} | ||
| accessibilityState={{ disabled }} | ||
| onAccessibilityAction={handleAccessibilityAction} | ||
| accessibilityActions={[{ name: 'activate' }]} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add support for 'escape' action too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The iOS does not have this functionality, so adding for Android would make it inconsistent IMO. But if it's need we can do a separate follow-up PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@TaduJR, it's the other way around, iOS does support it, Android doesn't. Let's add it here
so adding for Android would make it inconsistent IMO
But that still stands true, how do we close the picker on Android? Is it the 'collapse' action?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For iOS, yes - we could add 'escape' action to the Modal wrapper so VoiceOver users can dismiss with two-finger scrub (will call togglePicker(true)).
For Android, 'collapse' isn't the right action because when the native Picker opens, it's a system dialog that takes focus away from our wrapper. The accessibilityActions aren't reachable while the dialog is open. The
system dialog handles its own dismissal via back button/gesture. So No additional action needed on our side.
|
@TaduJR Please can we get some movement on this. |
|
Hey @inimaga Very sorry for the delay 🙏 I was having some deploy blockers recently. Will surely handle it tomorrow. Thanks for the bump! |
…r-select-expensify into fix/android-headless-talkback-accessibility
|
@codex review |
|
To use Codex here, create a Codex account and connect to github. |
Oh, forgot codex is not install on this fork 😅 |
Fixes Expensify/App#77542
Demo:
Screen_Recording_20260122_065943_New.Expensify.Dev.mp4